package yl.hs.bmipfull.pojo.laboratory;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * 生产任务配比表实体类
 *
 * @author 华砂信息-谢景广
 */
@DBTable(disName = "生产任务配比表", mapCode = "task_config")
public class TaskConfigEntity extends BaseEntity {

    /**
     * 状态
     */
    private Short state;
    private Long id;
    @DBField(disName = "生产任务配比表信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "RWPC")
    private String sn;
    private String taskSN;
    private String prolineSN;
    private String configSN;
    private String configName;
    private String configNamePY;
    @Deprecated
    private short configType;
    private short useYear;
    private short useQuarter;
    private BigDecimal wtgRatio;
    private BigDecimal sandRatio;
    private BigDecimal admixRatio;
    private short mixTime;
    @Deprecated
    private BigDecimal density;
    private String mortarSN;
    private String mortarName;
    private String organizationCode;
    /**
     * 配比显示编号
     */
    private String configDisSn;

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    /**
     * 获取主键
     *
     * @return
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置主键
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取编号
     *
     * @return
     */
    public String getSn() {
        return this.sn;
    }

    /**
     * 设置编号
     *
     * @param sn
     */
    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 获取生产任务编号
     *
     * @return
     */
    public String getTaskSN() {
        return this.taskSN;
    }

    /**
     * 设置生产任务编号
     *
     * @param taskSN
     */
    public void setTaskSN(String taskSN) {
        this.taskSN = taskSN;
    }

    /**
     * 获取生产线编号
     *
     * @return
     */
    public String getProlineSN() {
        return this.prolineSN;
    }

    /**
     * 设置生产线编号
     *
     * @param prolineSN
     */
    public void setProlineSN(String prolineSN) {
        this.prolineSN = prolineSN;
    }

    /**
     * 获取配比编号
     *
     * @return
     */
    public String getConfigSN() {
        return this.configSN;
    }

    /**
     * 设置配比编号
     *
     * @param configSN
     */
    public void setConfigSN(String configSN) {
        this.configSN = configSN;
    }

    /**
     * 获取配比名称
     *
     * @return
     */
    public String getConfigName() {
        return this.configName;
    }

    /**
     * 设置配比名称
     *
     * @param configName
     */
    public void setConfigName(String configName) {
        this.configName = configName;
    }

    /**
     * 获取配比名称拼音
     *
     * @return
     */
    public String getConfigNamePY() {
        return this.configNamePY;
    }

    /**
     * 设置配比名称拼音
     *
     * @param configNamePY
     */
    public void setConfigNamePY(String configNamePY) {
        this.configNamePY = configNamePY;
    }

    /**
     * 获取配比类型
     *
     * @return
     */
    @Deprecated
    public short getConfigType() {
        return this.configType;
    }

    /**
     * 设置配比类型
     *
     * @param configType
     */
    @Deprecated
    public void setConfigType(short configType) {
        this.configType = configType;
    }

    /**
     * 获取年份
     *
     * @return
     */
    public short getUseYear() {
        return this.useYear;
    }

    /**
     * 设置年份
     *
     * @param useYear
     */
    public void setUseYear(short useYear) {
        this.useYear = useYear;
    }

    /**
     * 获取季度
     *
     * @return
     */
    public short getUseQuarter() {
        return this.useQuarter;
    }

    /**
     * 设置季度
     *
     * @param useQuarter
     */
    public void setUseQuarter(short useQuarter) {
        this.useQuarter = useQuarter;
    }

    /**
     * 获取水胶比
     *
     * @return
     */
    public BigDecimal getWtgRatio() {
        return this.wtgRatio;
    }

    /**
     * 设置水胶比
     *
     * @param wtgRatio
     */
    public void setWtgRatio(BigDecimal wtgRatio) {
        this.wtgRatio = wtgRatio;
    }

    /**
     * 获取砂率
     *
     * @return
     */
    public BigDecimal getSandRatio() {
        return this.sandRatio;
    }

    /**
     * 设置砂率
     *
     * @param sandRatio
     */
    public void setSandRatio(BigDecimal sandRatio) {
        this.sandRatio = sandRatio;
    }

    /**
     * 获取外加剂掺量
     *
     * @return
     */
    public BigDecimal getAdmixRatio() {
        return this.admixRatio;
    }

    /**
     * 设置外加剂掺量
     *
     * @param admixRatio
     */
    public void setAdmixRatio(BigDecimal admixRatio) {
        this.admixRatio = admixRatio;
    }

    /**
     * 获取搅拌时间
     *
     * @return
     */
    public short getMixTime() {
        return this.mixTime;
    }

    /**
     * 设置搅拌时间
     *
     * @param mixTime
     */
    public void setMixTime(short mixTime) {
        this.mixTime = mixTime;
    }

    /**
     * 获取砼容量
     *
     * @return
     */
    @Deprecated
    public BigDecimal getDensity() {
        return this.density;
    }

    /**
     * 设置砼容量
     *
     * @param density
     */
    @Deprecated
    public void setDensity(BigDecimal density) {
        this.density = density;
    }

    /**
     * 获取砂浆编号
     *
     * @return
     */
    public String getMortarSN() {
        return this.mortarSN;
    }

    /**
     * 设置砂浆编号
     *
     * @param mortarSN
     */
    public void setMortarSN(String mortarSN) {
        this.mortarSN = mortarSN;
    }

    /**
     * 获取砂浆显示编号
     *
     * @return
     */

    public String getMortarName() {
        return this.mortarName;
    }

    /**
     * 设置砂浆显示编号
     *
     * @param mortarName
     */

    public void setMortarName(String mortarName) {
        this.mortarName = mortarName;
    }

    /**
     * 获取组织代码
     *
     * @return
     */
    public String getOrganizationCode() {
        return this.organizationCode;
    }

    /**
     * 设置组织代码
     *
     * @param organizationCode
     */
    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getConfigDisSn() {
        return configDisSn;
    }

    public void setConfigDisSn(String configDisSn) {
        this.configDisSn = configDisSn;
    }
}
